import { createApp } from 'vue'
import './style.less'
import "@/styles/mixin.less"
import App from './App.vue'
import router from './router'
import {createPinia} from "pinia"
import Particles from 'particles.vue3'

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const Pinia = createPinia()
Pinia.use(piniaPluginPersistedstate)
// 导入自定义指令
import loading from "./directives/loading.js"

createApp(App).directive("loadings",loading).use(router).use(Pinia).use(Particles).mount('#app')
